﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Feedback.aspx.cs" Inherits="Maticsoft.Web.Feedback" %>
<%@ Register Src="Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="Footer.ascx" TagName="Footer" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/menu.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.8.2.js" type="text/javascript"></script>
    <script src="js/menu.js" type="text/javascript"></script>
    <script type="text/javascript">
        function Add() {
            var result = "";
            var nResult = "";
            $(":input[name='item1']").each(function () {
                if ($(this).attr("checked") == "checked") {
                    if (nResult != "") {
                        nResult += ",";
                    }
                    nResult += $(this).val();
                }
            });
            result += nResult;
            result += "|";
            nResult = "";
            $(":input[name='item2']").each(function () {
                if ($(this).attr("checked") == "checked") {
                    if (nResult != "") {
                        nResult += ",";
                    }
                    nResult += $(this).val();
                }
            });
            result += nResult;
            result += "|";
            nResult = "";
            $(":input[name='item3']").each(function () {
                if ($(this).attr("checked") == "checked") {
                    if (nResult != "") {
                        nResult += ",";
                    }
                    nResult += $(this).val();
                }
            });
            result += nResult;
            result += "|";
            nResult = "";
            $(":input[name='item4']").each(function () {
                if ($(this).attr("checked") == "checked") {
                    if (nResult != "") {
                        nResult += ",";
                    }
                    nResult += $(this).val();
                }
            });
            result += nResult;
            result += "|";
            nResult = "";

            nResult += $(":input[name='item5']").val();

            result += nResult;
            result += "|";
            nResult = "";

            nResult += $(":input[name='item6']").val();

            result += nResult;
            result += "|";
            nResult = "";
            $(":input[name='item7']").each(function () {
                if ($(this).attr("checked") == "checked") {
                    if (nResult != "") {
                        nResult += ",";
                    }
                    nResult += $(this).val();
                }
            });
            result += nResult;
            result += "|";
            nResult = "";
            $(":input[name='item8']").each(function () {
                if ($(this).attr("checked") == "checked") {
                    if (nResult != "") {
                        nResult += ",";
                    }
                    nResult += $(this).val();
                }
            });
            result += nResult;
            $("#hidResult").val(result);
            if ($("#txtFName").val() == "") {
                alert("First Name is empty")
                return false;
            }
            if ($("#txtLName").val() == "") {
                alert("Last Name is empty");
                return false;
            }
            if ($("#txtSex").val() == "") {
                alert("Sex is empty");
                return false;
            }
            if ($("#txtAge").val() == "") {
                alert("Age is empty");
                return false;
            }
            if ($("#txtPhone").val() == "") {
                alert("Phone is empty");
                return false;
            }
            if ($("#txtEmail").val() == "") {
                alert("Email is empty");
                return false;
            }

            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="header">
        <uc1:Header ID="Header1" runat="server" />
    </div>
    <div class="clear">
    </div>
    <div id="container">
        <div  class="navigater" style="border-bottom:1px solid #f0efec">
            <span id="nav" runat="server"></span>
        </div>
        <div style="padding:5px 10px;">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                <td height="25"><b>SURVEY SAYS?</b></td>
                </tr>
                <tr>
                <td height="25">Thank you so much for taking the time to fill out our brief survey! Your feedback will help us bring you an even better experience!</td>
                </tr>
                <tr>
                <td height="25">1 What is your overall first impression of the new ISAACHOME site?</td>
                </tr>
                <tr>
                <td height="25">
                    <input id="Checkbox1" type="checkbox" name="item1" value="Love it" />Love it <input id="Checkbox2" type="checkbox" name="item1" value="Like it" />Like it <input id="Checkbox3" type="checkbox" name="item1" value="Don't mind it" />Don't mind it <input id="Checkbox4" type="checkbox" name="item1" value="Dislike it" />Dislike it </td>
                </tr>
                <tr>
                <td height="25">2 Was the navigation clear and easy to use?</td>
                </tr>
                <tr>
                <td height="25"><input id="Checkbox5" type="checkbox" name="item2" value="Yes" />Yes <input id="Checkbox6" type="checkbox" name="item2" value="No" />No </td>
                </tr>
                <tr>
                <td height="25">3 We made it easier to heart your favorite items and shop them from your favorites page. How do you like it?</td>
                </tr>
                <tr>
                <td height="25"><input id="Checkbox7" type="checkbox" name="item3" value="I love it" />I love it<input id="Checkbox8" type="checkbox" name="item3" value="I'll never use it" />I'll never use it </td>
                </tr>
                <tr>
                <td height="25">4 We also made it easier to heart and shop your favorite designers through you’re my isaachome boutique. What do you think?</td>
                </tr>
                <tr>
                <td height="25"><input id="Checkbox9" type="checkbox" name="item4" value="Love it" />Love it<input id="Checkbox10" type="checkbox" name="item4" value="I'll never use it" />I'll never use it </td>
                </tr>
                <tr>
                <td height="25">5 What other changes would you like to see on the new ISAACHOME site?</td>
                </tr>
                <tr>
                <td height="25">
                    <textarea id="TextArea1" name="item5" cols="50" rows="2"></textarea></td>
                </tr>
                <tr>
                <td height="25">6 Tell us more! If you have any other comments, questions or concerns, please let us know all about it right here!</td>
                </tr>
                <tr>
                <td height="25"><textarea id="TextArea2" name="item6" cols="50" rows="2"></textarea></td>
                </tr>
                <tr>
                <td height="20"></td>
                </tr>
                <tr>
                <td height="25">7 Please tell us about yourself.</td>
                </tr>
                <tr>
                <td height="25">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;First&nbsp;Name<input id="txtFName" type="text" runat="server" />*&nbsp;&nbsp;Last&nbsp;Name<input id="txtLName" type="text" runat="server" />*
                </td>
                </tr>
                <tr>
                <td height="25">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sex<input id="txtSex" type="text" runat="server" />*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Age<input id="txtAge" type="text" runat="server" />*</td>
                </tr>
                <tr>
                <td height="25">&nbsp;&nbsp;Day&nbsp;Time&nbsp;Phone<input id="txtPhone" type="text" runat="server" />*</td>
                </tr>
                <tr>
                <td height="25">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Email<input id="txtEmail" type="text" runat="server" />*</td>
                </tr>
                <tr>
                <td height="25">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Address<input id="txtAddress" type="text" runat="server" /></td>
                </tr>
                <tr>
                <td height="25">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Suburb<input id="txtSuburb" type="text" runat="server" /></td>
                </tr>
                <tr>
                <td height="25">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Postcode<input id="txtPostcode" type="text" runat="server" /></td>
                </tr>
                <tr>
                <td height="25"><input id="Checkbox11" type="checkbox" name="item7" value="Yes" />I would like ISAACHOME to send me marketing material about future events</td>
                </tr>
                <tr>
                <td height="25"><input id="Checkbox12" type="checkbox" name="item8" value="Yes" />I agree to ISAACHOME' Privacy Policy </td>
                </tr>
                <tr>
                <td height="25">
                    <input type="hidden" id="hidResult" runat="server" />
                    <asp:Button ID="Button1" runat="server" Text="SEND" 
                        OnClientClick="return Add();" onclick="Button1_Click" /></td>
                </tr>
            </table>
        </div>
    </div>
    <div class="clear">
    </div>
    <div id="footer">
        <uc2:Footer ID="Footer1" runat="server" />
    </div>
    <script src="http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js" type="text/javascript"></script>
    <script src="js/global.js" type="text/javascript"></script>
    </form>
</body>
</html>
